Skip to main content

mobilePurchaseError

Type

function

Summary

Returns detailed information about errors in a purchase.

Syntax

mobilePurchaseError(<purchaseID>)

Description

Use the mobilePurchaseError function to retrieve detailed information about errors in a purchase.

The mobilePurchaseError function returns a string containing detailed error information related to the specified purchase.

Parameters

NameTypeDescription

purchaseID

a numeric purchase identifier

Examples

put mobilePurchaseError(tPurchaseID) into tPurchaseError
if mobilePurchaseError(15) is empty then
answer "There were no errors with this purchase"
end if

message: purchaseStateUpdate

command: mobilePurchaseSet, mobileDisablePurchaseUpdates, mobilePurchaseVerify, mobileRestorePurchases, mobilePurchaseSendRequest, mobilePurchaseConfirmDelivery, mobileEnablePurchaseUpdates, mobilePurchaseCreate

function: mobilePurchaseState, mobilePurchaseGet, mobileCanMakePurchase, mobilePurchases

Compatibility and Support

Introduced

LiveCode 5.0.1

OS

ios

android

Platforms

mobile

Thank you for your feedback!

Was this page helpful?